//
//  HMSportMapVC.h
//  BlackHorseLine
//
//  Created by made on 17/3/5.
//  Copyright © 2017年 made. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MAMapKit/MAMapKit.h>
#import "HMSportTracking.h"

//声明协议
@protocol HMSportMapVCDelegate;


@interface HMSportMapVC : UIViewController

//GPS信号按钮
@property(weak, nonatomic)IBOutlet UIButton *gpsButton;

//运动类型
@property(nonatomic,strong)HMSportTracking *sportTracking;

//高德地图
@property(nonatomic,strong)MAMapView *mapView;

//协议
@property(weak,nonatomic)id<HMSportMapVCDelegate> delegate;


@end



@protocol HMSportMapVCDelegate <NSObject>

- (void)HMsportMapVCDidUpdateLocation:(HMSportTracking *)sportTracking mapVC:(HMSportMapVC *)mapVC;

@end







